<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--框架必需start-->
<script type="text/javascript" src="../js/jquery-1.4.js"></script>
<script type="text/javascript" src="../js/framework.js"></script>
<link href="../css/import_basic.css" rel="stylesheet" type="text/css"/>
<link  rel="stylesheet" type="text/css" id="skin"/>
<!--框架必需end-->

<!--多选框脚本start-->
<script type="text/javascript" src="../js/form/multiselect.js"></script>
<!--多选框脚本end-->

<!--表单验证脚本start-->
	<script src="../js/form/validationEngine-cn.js" type="text/javascript"></script>
	<script src="../js/form/validationEngine.js" type="text/javascript"></script>
<!--表单验证脚本end-->
<script>
$(document).ready(function(){
	var a=null;
	a=<%=request.getParameter("p")%>;
	if(a==0){
		alert("输入错误！");
	}if(a==1){
		alert("修改成功！");
	}
});

</script>


</head>
<body>
<div id="scrollContent">
	<div class="box1" panelWidth="500" whiteBg="true">
	<form method="post" action="amendPwd">
	<table class="tableStyle" formMode="true">
		<tr>
			<th colspan="2">密码修改</th>
		</tr>
		<tr>
			<td>旧密码：</td><td>
			<input type="password" class=" validate[required,custom[noSpecialCaracters]]" name="oldPasswd"/>
			<span class="star">*</span></td>
		</tr>
		<tr>
			<td>新密码：</td><td>
			<input type="password" class=" validate[required,custom[noSpecialCaracters]]" name="newPasswd"/><span class="star">*</span></td>
		</tr>
		<tr>
			<td>确认密码：</td><td>
			<input type="password" class=" validate[required,custom[noSpecialCaracters]]" name="passwordComfirm"/>
			<span class="star">*</span></td>
		</tr>

		<tr>
			<td colspan="2">
				<input type="submit" value=" 提 交 "/>
				<input type="reset" value=" 重 置 "/>
			</td>
		</tr>
	</table>
	</form>
	</div>
</div>
</body>
</html>